package com.ruoyi.leave.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用水月度计划申请对象 workflow_water_month_plan
 *
 * @author ruoyi
 * @date 2024-01-04
 */
public class WorkflowWaterMonthPlan extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private String id;

    /**
     * 用水申请ID
     */
    @Excel(name = "用水申请ID")
    private Long planId;

    /**
     * 机构Id
     */
    @Excel(name = "机构Id")
    private Long deptId;

    /**
     * 流程实例ID
     */
    @Excel(name = "流程实例ID")
    private String instanceId;

    /**
     * 办理人
     */
    @Excel(name = "办理人")
    private String assignee;

    /**
     * 候选者
     */
    @Excel(name = "候选者")
    private String rolegroup;

    /**
     * 节点名称
     */
    @Excel(name = "节点名称")
    private String activitiname;

    /**
     * 节点备注
     */
    @Excel(name = "节点备注")
    private String comment;

    /**
     * 申请渠道 1：农业  2：非农
     */
    @Excel(name = "申请渠道 1：农业  2：非农")
    private String channel;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String state;

    /**
     * 创建者名称
     */
    @Excel(name = "创建者名称")
    private String createName;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    public String getInstanceId() {
        return instanceId;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setRolegroup(String rolegroup) {
        this.rolegroup = rolegroup;
    }

    public String getRolegroup() {
        return rolegroup;
    }

    public void setActivitiname(String activitiname) {
        this.activitiname = activitiname;
    }

    public String getActivitiname() {
        return activitiname;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getComment() {
        return comment;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getChannel() {
        return channel;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getCreateName() {
        return createName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("planId", getPlanId())
                .append("deptId", getDeptId())
                .append("instanceId", getInstanceId())
                .append("assignee", getAssignee())
                .append("rolegroup", getRolegroup())
                .append("activitiname", getActivitiname())
                .append("comment", getComment())
                .append("channel", getChannel())
                .append("state", getState())
                .append("createName", getCreateName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
